#ifndef CONTAINER_H
#define CONTAINER_H

#include <vector>
#include "shape.h"
#include <fstream>
#include <iostream>
#include <string>

#include "circle.h"
#include "square.h"
#include "rectangle.h"

class Container
{
public:
    Container();
    ~Container();
    void add(Shape*);
    void del(int ind);
    void printShapesToFile(const std::string &filename);
    void getDataFromFile(const std::string &path);
    int getSize();
    Shape *getShapeAt(int ind);

private:
    std::vector<Shape*> cont;
};

#endif // CONTAINER_H
